fix: wire citation handler to v2 importer#3259
Conversation
The v2 importer was missing a handler for sd:citation elements. The field preprocessor converts CITATION field codes to sd:citation XML, and the v3 translator exists, but nothing bridged them to ProseMirror nodes. This follows the same pattern as bibliographyImporter.js. Fixes SD-3120 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Status: PASS The diff is purely wiring — For context, the underlying |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
📦 Preview published: npm install superdoc@pr-3259 |
The v2 importer was missing a handler for sd:citation elements. The field preprocessor converts CITATION field codes to sd:citation XML, and the v3 translator exists, but nothing bridged them to ProseMirror nodes.
This follows the same pattern as bibliographyImporter.js.
Fixes SD-3120